package com.zhijian.medical.service;

import com.zhijian.medical.entity.po.AgentiaVerifyRecord;
import com.zhijian.medical.entity.vo.request.AgentiaVerifyRecordSearchVo;
import com.zhijian.medical.entity.vo.response.AgentiaVerifyRecordVo;
import com.zhijian.medical.util.Page;

import java.util.List;

/**
 * 试剂验证记录 业务处理层
 *
 * @author HCG
 * @version 1.0
 * @date 2022-01-15 21:57:36
 */
public interface AgentiaVerifyRecordService {

    /**
     * 主键查询
     *
     * @param id
     * @return
     */
    AgentiaVerifyRecord selectById(Long id);

    /**
     * 主键查询vo
     *
     * @param id
     * @return
     */
    AgentiaVerifyRecordVo selectVoById(Long id);

    /**
     * 按照主键删除
     *
     * @param id
     */
    void deleteById(Long id);

    /**
     * 新增
     *
     * @param agentiaVerifyRecord
     * @return
     */
    Long insert(AgentiaVerifyRecord agentiaVerifyRecord);

    /**
     * 新增
     *
     * @param agentiaVerifyRecord
     * @return
     */
    Long insertAll(AgentiaVerifyRecord agentiaVerifyRecord);

    /**
     * 更改
     *
     * @param agentiaVerifyRecord
     * @return
     */
    boolean update(AgentiaVerifyRecord agentiaVerifyRecord);

    /**
     * 总数
     *
     * @param agentiaVerifyRecordSearchVo
     * @return
     */
    Integer count(AgentiaVerifyRecordSearchVo agentiaVerifyRecordSearchVo);

    /**
     * 列表
     *
     * @param agentiaVerifyRecordSearchVo
     * @return
     */
    List<AgentiaVerifyRecordVo> selectList(AgentiaVerifyRecordSearchVo agentiaVerifyRecordSearchVo);

    /**
     * 分页展示
     *
     * @param agentiaVerifyRecordSearchVo
     * @return
     */
    Page<AgentiaVerifyRecordVo> selectPage(AgentiaVerifyRecordSearchVo agentiaVerifyRecordSearchVo);
}